<template>
    <top-panel v-if="propertiesPanel.collapsed"></top-panel>
    <edge-panel v-else-if="propertiesPanel.type.indexOf('link') >= 0"></edge-panel>
    <node-panel v-else></node-panel>
</template>

<script setup lang="ts">
import {inject} from "vue";
import NodePanel from "./node-panel.vue";
import {ModelerContext} from "../../useapi";

const modeler: ModelerContext = inject<any>('modeler_context')
const {propertiesPanel} = modeler


</script>

<style scoped lang="scss">

</style>